//
//  BZHttpFileHelper.h
//  BaseSwift
//
//  Created by gh on 2019/10/15.
//  Copyright © 2019 ghwang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#define PYSEARCH_TOPIC_HISTORY_CACHE_PATH [[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) lastObject] stringByAppendingPathComponent:@"TOPIC.plist"] // the path of search record cached

NS_ASSUME_NONNULL_BEGIN

@interface BZHttpFileHelper : NSObject
+(instancetype)fileHelperShareInstance;
-(void)uploadAmr:(NSData *)amrData amrName:(NSString *)amrName callback:(void (^)(id succResult))callBack;
- (void)gotoMap:(NSString*)lat longt:(NSString*)longt addr:(NSString*)adr type:(NSString*)type;
- (NSString*)htmlForImgPath:(NSString*)url;
- (UIImage *)getJPEGImagerImg:(UIImage *)image;
+ (UIImage *)compressImage:(UIImage *)image toByte:(NSUInteger)maxLength;
+ (UIImage *)imageWithScreenshot;
+ (UIImage *)imageWithTitle:(NSString *)title fontSize:(CGFloat)fontSize img:(UIImage *)img;
+ (UIImage *)firstFrameWithVideoURL:(NSURL *)url size:(CGSize)size;
+ (NSString *)getTopCachePath;
+ (CGFloat)getSpaceLabelHeight:(NSString*)str withFont:(UIFont*)font withWidth:(CGFloat)width;
+ (CGSize)getBtnSize:(UIButton*)button;
+ (NSString*)gaodeToBDWithLat:(double)lat longt:(double)longt;
+ (NSString*)baiduToGaodeWithLat:(double)lat longt:(double)longt;
@end

NS_ASSUME_NONNULL_END
